package com.lvy.hczn.front.business.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lvy.hczn.front.system.domain.business.WarehousingEntry;
import com.lvy.hczn.front.system.domain.business.WarehousingOut;

/**
 * 商品出库单Service接口
 *
 * @author ruoyi
 * @date 2023-05-30
 */
public interface WarehousingOutService extends IService<WarehousingOut> {
    /**
     * 查询商品出库单
     *
     * @param id 商品出库单主键
     * @return 商品出库单
     */
    WarehousingOut selectWarehousingOutById(String id);

    /**
     * 查询商品出库单列表
     *
     * @param warehousingOut 商品出库单
     * @return 商品出库单集合
     */
    List<WarehousingOut> selectWarehousingOutList(WarehousingOut warehousingOut);

    /**
     * 新增商品出库单
     *
     * @param warehousingOut 商品出库单
     * @return 结果
     */
    int insertWarehousingOut(WarehousingOut warehousingOut);

    /**
     * 修改商品出库单
     *
     * @param warehousingOut 商品出库单
     * @return 结果
     */
    int updateWarehousingOut(WarehousingOut warehousingOut);

    /**
     * 批量删除商品出库单
     *
     * @param ids 需要删除的商品出库单主键集合
     * @return 结果
     */
    int deleteWarehousingOutByIds(String ids);

    /**
     * 删除商品出库单信息
     *
     * @param id 商品出库单主键
     * @return 结果
     */
    int deleteWarehousingOutById(String id);

    /**
     * 提交入库单到平台
     *
     * @param warehousingEntry
     * @return
     * @author yw
     * @date 2023-05-26 11:22:42
     */
    void commitToPlatform(WarehousingOut warehousingout);
}
